# Copyright(c) 2008 Tri Tech Information Systems Inc. 
# Distributed under the Boost Software License, Version 1.0.
#     (See accompanying file ../../LICENSE_1_0.txt or copy at
#           http://www.boost.org/LICENSE_1_0.txt)
#     
ParseHeaderFile("llvm/Value.h")

AddIncludedFile("llvm/User.h")
AddIncludedFile( "llvm/Type.h" )
AddIncludedFile( "Value.h" )

Value = CreateClassWrapper( "llvm::Value" )

def Value_Prepare(klass):
    klass.acceptPtrsByReference()
    klass.setHoldType("ValuePointer< %s >" % klass.qualifiedName)

Value.addPreparer(Value_Prepare)
